using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class EntityCenter : MonoBehaviour
{
    private static EntityCenter ec;
    public static EntityCenter GetEC { get { return ec; } }

    public static Dictionary<int, GameObject> entitys = new Dictionary<int, GameObject>();

    private void Awake()
    {
        ec = this;
    }
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public static void AddAndAssignId(GameObject entity)
    {
        entitys.Add(entitys.Count, entity);
    }
}
